package org.aeon.message.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/26 9:04
 * @description: 关系列表查询请求
 */
@Getter
@Setter
@ToString
public class ListQueryRequestMessage extends RequestMessage {
    @Serial
    private static final long serialVersionUID = 5298000889936873592L;
    private Long userId;
    private Boolean isFriend;

    public ListQueryRequestMessage(Long userId, Boolean isFriend) {
        this.userId = userId;
        this.isFriend = isFriend;
    }

    @Override
    public int getMessageType() {
        return ListQueryRequestMessage;
    }
}
